package com.wfm.common;

import org.junit.Test;

public class BitMap {
    /**
     * num/8得到byte[]的index
     * @param num
     * @return
     */
    public int getIndex(int num){
        return num >> 3;
    }

    @Test
    public void test(){
        System.out.println(getIndex(8));
    }
}
